78e51d0db4eb69d2907c2c118ba2fa74ce651b6b,platform/lang-impl/src/com/intellij/ide/util/MemberChooser.java,MemberChooser,createActions,#,269
Before Change
@NotNull
protected Action[] createActions() {
if (myAllowEmptySelection) {
return new Action[]{getOKAction(), new SelectNoneAction(), getCancelAction()};
}
else {
return new Action[]{getOKAction(), getCancelAction()};
}
}
After Change
@NotNull
protected Action[] createActions() {
final List<Action> actions = new ArrayList<Action>();
actions.add(getOKAction());
if (myAllowEmptySelection) {
actions.add(new SelectNoneAction());
}
actions.add(getCancelAction());
if (getHelpId() != null) {
actions.add(getHelpAction());
}
return actions.toArray(new Action[actions.size()]);
}
@Override